package com.hnas.common.domain;

import java.util.HashMap;
import java.util.Map;

public class BusinessType {
	
	public static final String initAnonymousTran = "1";
	public static final String batchAnonymousTran = "2";
	public static final String empIdAnonymousTran = "3";
	public static final String sfCardImport = "4";
	public static final String AcctOpenSubPaymentFacade = "5";
	public static final String CbStaffImport = "6";
	public static final String ImportAccAmt = "7";
	public static final String ImportCollar = "8";
	public static final String anonymousTran = "9";
	public static final String AcctConsumeFacade = "10";
	public static final String PrepaidCard = "11";
	public static final String UpdateCardExpDate = "12";
	public static final String CrewSubsidyDetailImport = "13";
	public static final String EmpAndCardImport = "14";
	public static final String HHEMPLOYEECARD = "15";
	public static final String ImportWelfareRoster = "16";
	public static final String MianShuiMatchYKT = "17";
	public static final String WelfareSendSMS = "18";
	
	public static final String batchImport = "1";
	public static final String handOperation = "2";
	
	public static final String inProcess = "0";
	public static final String impSuccess = "1";
	public static final String impFail = "2";
	
	private static Map<String, String> map = new HashMap<String, String>();
	private static Map<String, String> optMap = new HashMap<String, String>();
	private static Map<String, String> statusMap = new HashMap<String, String>();
	static {
		map.put(initAnonymousTran, "初始化匿名卡转实名卡");
		map.put(batchAnonymousTran, "批量匿名卡转实名卡");
		map.put(empIdAnonymousTran, "员工编号匿名卡转实名卡");
		map.put(anonymousTran, "匿名卡转实名卡");
		map.put(sfCardImport, "思福卡导入绑定");
		map.put(AcctOpenSubPaymentFacade, "员工编号开子户");
		map.put(CbStaffImport, "花名册导入");
		map.put(ImportAccAmt, "餐补补发导入");
		map.put(ImportCollar, "领款户批量导入");
		map.put(AcctConsumeFacade, "远程扣款");
		map.put(PrepaidCard, "预付卡");
		map.put(UpdateCardExpDate, "修改卡号有效期");
		map.put(CrewSubsidyDetailImport, "机组餐补明细导入");
		map.put(EmpAndCardImport, "员工和卡信息批量导入");
		map.put(HHEMPLOYEECARD, "海航员工卡关联补录");
		map.put(ImportWelfareRoster, "福利花名册导入");
		map.put(MianShuiMatchYKT, "免税匹配一卡通数据");
		map.put(WelfareSendSMS, "福利发送短信提醒");
		optMap.put(batchImport, "批量导入");
		optMap.put(handOperation, "手动操作");
		statusMap.put(inProcess,"处理中");
		statusMap.put(impSuccess,"处理成功");
		statusMap.put(impFail,"处理失败");
	}

	public static String getBusinessTypeString(String type) {
		return map.get(type);
	}

	public static Map<String, String> getBusinessTypeMap() {
		return map;
	}
	
	public static String getOpTypeString(String type) {
		return optMap.get(type);
	}
	
	public static Map<String, String> getOpTypeMap() {
		return optMap;
	}
	
	public static String getStatusString(String status) {
		return statusMap.get(status);
	}
	
	public static Map<String, String> getStatusMap() {
		return statusMap;
	}
}